From: Andreas Schwab Date: Sun, 11 Mar 2007 10:44:41 +0000 (+0000) Subject: (diff-apply-hunk): Use proper format string for X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~1623 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=3322a194ff998639b057ce3f5d0c677ae5d9cde8;p=emacs.git (diff-apply-hunk): Use proper format string for error. --- diff --git a/lisp/diff-mode.el b/lisp/diff-mode.el index ccd945db98e..543e1bd6a39 100644 --- a/lisp/diff-mode.el +++ b/lisp/diff-mode.el @@ -1375,7 +1375,8 @@ With a prefix argument, REVERSE the hunk." (yes-or-no-p (format "Really apply this hunk to %s? " (file-name-nondirectory buffer-file-name))))))) - (error (substitute-command-keys + (error "%s" + (substitute-command-keys (format "Use %s\\[diff-apply-hunk] to apply it to the other file" (if (not reverse) "\\[universal-argument] "))))) ((and switched